﻿namespace CabConfigProvisioning
{
	/// <summary>
	/// Description of Encoder.
	/// </summary>
	public static class Encoder
	{
		public static string EncodeXml(string s)
		{
			return s.Replace("&", "&amp;").Replace("<", "&lt;").Replace(">", "&gt;").Replace("\"", "&quot;").Replace("'", "&apos;");
		}
	}
}
